//
//  XRCommonOnlyImageCollectionCell.m
//  XClassRoom
//
//  Created by NeiQuan on 16/11/17.
//  Copyright © 2016年 Mr-yuwei. All rights reserved.
//

#import "XRCommonOnlyImageCollectionCell.h"

@implementation XRCommonOnlyImageCollectionCell

-(void)addOwnView
{
    _imageView=[[UIImageView alloc] init];
    _imageView.contentMode=UIViewContentModeScaleAspectFill;
    _imageView.clipsToBounds=YES;
    [self.contentView addSubview:_imageView];
    [_imageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.contentView);
    }];
}

@end
